package model;

import java.util.HashSet;
import java.util.Vector;

public class TransitionSet {

	private final HashSet<Transition> transitions;
	
	public TransitionSet() {
		this.transitions = new HashSet<Transition>();
	}

	public void add(final Transition transition) {
		this.transitions.add(transition);
	}

	public boolean contains(final Transition from) {
		return this.transitions.contains(from);
	}

	public Vector<Transition> getVector() {
		return new Vector<Transition>(this.transitions);
	}
}
